package coffee;

public class Coffee extends Product {
     String origin;
     String roast;
     String flavor;
     String aroma;
     String acidity;
     String body;
     public Coffee(String initialCode,String initialDescription,double initialPrice,String initialOrigin,String initialRoast, String initialFlavor,String initialAroma,String initialAcidity,String initialBody)
     {
    	 super(initialCode,initialDescription,initialPrice);
    	 this.origin=initialOrigin;
    	 this.roast=initialRoast;
    	 this.flavor=initialFlavor;
    	 this.aroma=initialAroma;
    	 this.acidity=initialAcidity;
    	 this.body=initialBody;
     }
     public String getOrigin()
     {
    	 return origin;
     } 
     public String getRoast()
     {
    	 return roast;
     }
     public String getFlavor()
     {
    	 return flavor;
     }
     public String getAroma()
     {
    	 return aroma;
     }
     public String getAcidity()
     {
    	 return acidity;
     }
     public String getBody()
     {
    	 return body;
     }
     public String toString()
     {
    	 return code + "_" + description + "_" + price + "_" + origin
	                + "_" + roast + "_" + flavor + "_" + aroma + "_"
	                + acidity + "_" + body;

     }
}
